@extends('admin.layout')

@section('content_header')
	create input group
@stop

@section('content')
	<form method="post" action="{{isset($data)? route('admin.inputgroup.update', $data) : route('admin.inputgroup.store')}}">
		<div class="form-group">
			<label>input group</label>
			<input type="text" name="input_group" class="form-control" value="{{$data->input_group??''}}">
		</div>
		<div class="form-group">
			<label>identifier</label>
			<input type="text" name="identifier" class="form-control" value="{{$data->identifier??''}}">
		</div>
		@csrf

		@isset($data) @method('PUT') @endisset
		<div class="form-group">
			<button class="btn btn-primary"> submit </button>
		</div>
	</form>
	@component('admin.error') @endcomponent
@stop